<template>
	<view class="discovery-second-wrap ss-flex ss-col-center">
		<view class="discovery-second">
			<view class="top-title font-AlibabaPuHuiTiHeavy">
				灵石兑换
			</view>
			<view class="tab-items">
				<view class="tab-item" v-for="item in tabList">
					<image class="item-icon" :src="sheep.$url.static(item.icon)" mode="aspectFit" />
					<!-- <view class="item-icon">
						
					</view> -->
					<view class="item-title font-PingFangRegular">
						{{item.title}}
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	import sheep from '@/sheep'
	const tabList = [
		{
			icon: "/assets/img/zhuque-ls3.png",
			title: "换火灵果"
		},
		{
			icon: "/assets/img/discovery-egg.png",
			title: "换朱雀蛋"
		},
		{
			icon: "/assets/img/zq-market-zhuque.png",
			title: "换朱雀仔"
		}
	]
</script>

<style lang="scss" scoped>
	.discovery-second-wrap{
		display: flex;
		flex-direction: row;
		justify-content: center;
		.discovery-second{
			width: 686rpx;
			height: 256rpx;
			background: #FFFFFF;
			border-radius: 18rpx 18rpx 18rpx 18rpx;
			.top-title{
				margin-top: 30rpx;
				margin-left: 30rpx;
				white-space: nowrap;
				height: 34rpx;
				font-family: Alibaba PuHuiTi 2.0, Alibaba PuHuiTi 20;
				font-weight: normal;
				font-size: 36rpx;
				color: #232323;
				line-height: 34rpx;
				text-align: left;
				font-style: normal;
				text-transform: none;
			}
			.tab-items{
				margin-top: 30rpx;
				width: 626rpx;
				height: 188rpx;
				align-self: center;
				display: flex;
				flex-direction: row;
				.tab-item{
					display: flex;
					flex-direction: column;
					align-items: center;
					margin-left: 60rpx;
					.item-icon{
						width: 80rpx;
						height: 80rpx;
						// background: #E3E8F0;
						border-radius: 6rpx 6rpx 6rpx 6rpx;
					}
					.item-title{
						margin-top: 8rpx;
						white-space: nowrap;
						height: 34rpx;
						font-family: PingFang SC, PingFang SC;
						font-weight: 400;
						font-size: 24rpx;
						color: #232323;
						line-height: 34rpx;
						text-align: center;
						font-style: normal;
						text-transform: none;
					}
				}
			}
		}
	}
</style>
